package com.lyb.course.service;

import com.baomidou.mybatisplus.service.IService;
import com.lyb.course.domain.Course;
import com.lyb.course.dto.CourseSaveDTO;
import com.lyb.course.query.CourseQuery;
import com.lyb.hrm.doc.CourseDoc;
import com.lyb.hrm.util.PageList;

public interface ICourseService extends IService<Course> {

    void saveOrUpdate(CourseSaveDTO courseSaveDTO);

    //课程上线
    void onLineCourse(Long id);

    //课程下线
    void offLineCourse(Long id);

    PageList<CourseDoc> queryCourses(CourseQuery courseQuery);

}
